package com.dlc.shop.bean.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Yami
 */
@Data
public class CustomerConsumeReqParam {

    @Schema(description = "开始时间" )
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @Schema(description = "结束时间" )
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * com.dlc.shop.bean.enums.TransactionUserType
     */
    @Schema(description = " 0全部成交客户 1新成交客户 2老成交客户" )
    private Integer type;

    @Schema(description = "回购周期间隔 10天 30天" )
    private Integer cycle;

    @Schema(description = "shopId 前端不用传值字段" )
    private Long shopId;

}
